<?php
namespace frontend\models;


use common\models\User;
use yii\db\ActiveReCord;

/**
 * Signup 
 */
class Member extends ActiveReCord
{


    /**
     * @inheritdoc
     */
    public static function tableName(){
    	return "recruit_user";
    }

    public function rules()
    {
        return [
            [['id','truename', 'sex', 'birth', 'card', 'tel', 'phone', 'edu', 'photo', 'intro'], 'required'],
        ];
    }

    public function attributeLabels()
    {
        return [
            'truename' => '用户真实姓名',
            'sex' => '性别',
            'birth' => '用户出生年月',
            'card' => '用户身份证号码',
            'tel' => '用户手机号',
            'phone' => '用户固话(区号-固话号)',
            'edu' => '用户学历',
            'photo' => '用户近照',
            'intro' => '用户个人简介',
        ];
    }
    
   
}

